package com.kaili.basic.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * Created by renzhikun on 18-9-28.
 */
@Data
public class SystemParamEditDto {

    @ApiModelProperty("参数主键")
    @NotNull(message = "参数主键不能为空")
    private Integer paramId;
    @ApiModelProperty("参数名称")
    @NotEmpty(message = "参数名称不能为空")
    private String paramKey;

    @ApiModelProperty("参数值")
    @NotEmpty(message = "参数值不能为空")
    private String paramValue;

    @ApiModelProperty("备注")
    @NotEmpty(message = "备注不能为空")
    private String remark;
}
